public class Text {

    public static void main(String[] args) {
        BinarySeachTree binarySeachTree = new BinarySeachTree();

        binarySeachTree.insert(10);
        binarySeachTree.insert(12);
        binarySeachTree.insert(6);
        binarySeachTree.insert(19);
        binarySeachTree.insert(11);
        binarySeachTree.insert(8);
        binarySeachTree.insert(1);



        binarySeachTree.remove(10);

        BinarySeachTree.TreeNode ret = binarySeachTree.Seach(11);

        System.out.println(ret.val);


    }
}
